import { useState,useEffect } from "react" 
import {getData} from "../../untils/ajxas"
function Home(){
    useEffect(()=>{
          getData().then(res=>{
            console.log(res);
          },[])
    })
    return (
        <div>
            <h1>home页</h1>
        </div>
    )
}
export default Home